#ifndef __LOGGER_H__
#define __LOGGER_H__

#include "Defaults.h"
#if DEBUGON
#include <stdio.h>
#include <stdarg.h>


#ifdef __cplusplus
extern "C" {
#endif
void LoggerHeader(char type,char* file,char *func,int line);
void Logger_B(const unsigned char* buffer,int length,char* file,char *func,int line);
void Logger(char type,char* file,char *func,int line,char* format,...);
void Format(const char* format,...);

#ifdef __cplusplus
}
#endif

#endif
#endif
